package com.my.study.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: yidujun
 * @create: 2021/09/15 20:22
 */
@Component
@ConfigurationProperties(prefix = "amazon.s3")
public class AmazonS3Properties {
    private String bucketName;

    private String endpoint;

    private String accessKey;

    private String secretKey;

    public String getBucketName() {    return bucketName;
    }public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }public String getEndpoint() {
        return endpoint;
    }public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }public String getAccessKey() {
        return accessKey;
    }public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }public String getSecretKey() {
        return secretKey;
    }public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

}
